package com.lilosoft.business.precity.models;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class UpProResultExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public UpProResultExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andRowguidIsNull() {
            addCriterion("ROWGUID is null");
            return (Criteria) this;
        }

        public Criteria andRowguidIsNotNull() {
            addCriterion("ROWGUID is not null");
            return (Criteria) this;
        }

        public Criteria andRowguidEqualTo(String value) {
            addCriterion("ROWGUID =", value, "rowguid");
            return (Criteria) this;
        }

        public Criteria andRowguidNotEqualTo(String value) {
            addCriterion("ROWGUID <>", value, "rowguid");
            return (Criteria) this;
        }

        public Criteria andRowguidGreaterThan(String value) {
            addCriterion("ROWGUID >", value, "rowguid");
            return (Criteria) this;
        }

        public Criteria andRowguidGreaterThanOrEqualTo(String value) {
            addCriterion("ROWGUID >=", value, "rowguid");
            return (Criteria) this;
        }

        public Criteria andRowguidLessThan(String value) {
            addCriterion("ROWGUID <", value, "rowguid");
            return (Criteria) this;
        }

        public Criteria andRowguidLessThanOrEqualTo(String value) {
            addCriterion("ROWGUID <=", value, "rowguid");
            return (Criteria) this;
        }

        public Criteria andRowguidLike(String value) {
            addCriterion("ROWGUID like", value, "rowguid");
            return (Criteria) this;
        }

        public Criteria andRowguidNotLike(String value) {
            addCriterion("ROWGUID not like", value, "rowguid");
            return (Criteria) this;
        }

        public Criteria andRowguidIn(List<String> values) {
            addCriterion("ROWGUID in", values, "rowguid");
            return (Criteria) this;
        }

        public Criteria andRowguidNotIn(List<String> values) {
            addCriterion("ROWGUID not in", values, "rowguid");
            return (Criteria) this;
        }

        public Criteria andRowguidBetween(String value1, String value2) {
            addCriterion("ROWGUID between", value1, value2, "rowguid");
            return (Criteria) this;
        }

        public Criteria andRowguidNotBetween(String value1, String value2) {
            addCriterion("ROWGUID not between", value1, value2, "rowguid");
            return (Criteria) this;
        }

        public Criteria andProjectRowguidIsNull() {
            addCriterion("PROJECT_ROWGUID is null");
            return (Criteria) this;
        }

        public Criteria andProjectRowguidIsNotNull() {
            addCriterion("PROJECT_ROWGUID is not null");
            return (Criteria) this;
        }

        public Criteria andProjectRowguidEqualTo(String value) {
            addCriterion("PROJECT_ROWGUID =", value, "projectRowguid");
            return (Criteria) this;
        }

        public Criteria andProjectRowguidNotEqualTo(String value) {
            addCriterion("PROJECT_ROWGUID <>", value, "projectRowguid");
            return (Criteria) this;
        }

        public Criteria andProjectRowguidGreaterThan(String value) {
            addCriterion("PROJECT_ROWGUID >", value, "projectRowguid");
            return (Criteria) this;
        }

        public Criteria andProjectRowguidGreaterThanOrEqualTo(String value) {
            addCriterion("PROJECT_ROWGUID >=", value, "projectRowguid");
            return (Criteria) this;
        }

        public Criteria andProjectRowguidLessThan(String value) {
            addCriterion("PROJECT_ROWGUID <", value, "projectRowguid");
            return (Criteria) this;
        }

        public Criteria andProjectRowguidLessThanOrEqualTo(String value) {
            addCriterion("PROJECT_ROWGUID <=", value, "projectRowguid");
            return (Criteria) this;
        }

        public Criteria andProjectRowguidLike(String value) {
            addCriterion("PROJECT_ROWGUID like", value, "projectRowguid");
            return (Criteria) this;
        }

        public Criteria andProjectRowguidNotLike(String value) {
            addCriterion("PROJECT_ROWGUID not like", value, "projectRowguid");
            return (Criteria) this;
        }

        public Criteria andProjectRowguidIn(List<String> values) {
            addCriterion("PROJECT_ROWGUID in", values, "projectRowguid");
            return (Criteria) this;
        }

        public Criteria andProjectRowguidNotIn(List<String> values) {
            addCriterion("PROJECT_ROWGUID not in", values, "projectRowguid");
            return (Criteria) this;
        }

        public Criteria andProjectRowguidBetween(String value1, String value2) {
            addCriterion("PROJECT_ROWGUID between", value1, value2, "projectRowguid");
            return (Criteria) this;
        }

        public Criteria andProjectRowguidNotBetween(String value1, String value2) {
            addCriterion("PROJECT_ROWGUID not between", value1, value2, "projectRowguid");
            return (Criteria) this;
        }

        public Criteria andProjectnoIsNull() {
            addCriterion("PROJECTNO is null");
            return (Criteria) this;
        }

        public Criteria andProjectnoIsNotNull() {
            addCriterion("PROJECTNO is not null");
            return (Criteria) this;
        }

        public Criteria andProjectnoEqualTo(String value) {
            addCriterion("PROJECTNO =", value, "projectno");
            return (Criteria) this;
        }

        public Criteria andProjectnoNotEqualTo(String value) {
            addCriterion("PROJECTNO <>", value, "projectno");
            return (Criteria) this;
        }

        public Criteria andProjectnoGreaterThan(String value) {
            addCriterion("PROJECTNO >", value, "projectno");
            return (Criteria) this;
        }

        public Criteria andProjectnoGreaterThanOrEqualTo(String value) {
            addCriterion("PROJECTNO >=", value, "projectno");
            return (Criteria) this;
        }

        public Criteria andProjectnoLessThan(String value) {
            addCriterion("PROJECTNO <", value, "projectno");
            return (Criteria) this;
        }

        public Criteria andProjectnoLessThanOrEqualTo(String value) {
            addCriterion("PROJECTNO <=", value, "projectno");
            return (Criteria) this;
        }

        public Criteria andProjectnoLike(String value) {
            addCriterion("PROJECTNO like", value, "projectno");
            return (Criteria) this;
        }

        public Criteria andProjectnoNotLike(String value) {
            addCriterion("PROJECTNO not like", value, "projectno");
            return (Criteria) this;
        }

        public Criteria andProjectnoIn(List<String> values) {
            addCriterion("PROJECTNO in", values, "projectno");
            return (Criteria) this;
        }

        public Criteria andProjectnoNotIn(List<String> values) {
            addCriterion("PROJECTNO not in", values, "projectno");
            return (Criteria) this;
        }

        public Criteria andProjectnoBetween(String value1, String value2) {
            addCriterion("PROJECTNO between", value1, value2, "projectno");
            return (Criteria) this;
        }

        public Criteria andProjectnoNotBetween(String value1, String value2) {
            addCriterion("PROJECTNO not between", value1, value2, "projectno");
            return (Criteria) this;
        }

        public Criteria andResultStyleIsNull() {
            addCriterion("RESULT_STYLE is null");
            return (Criteria) this;
        }

        public Criteria andResultStyleIsNotNull() {
            addCriterion("RESULT_STYLE is not null");
            return (Criteria) this;
        }

        public Criteria andResultStyleEqualTo(Integer value) {
            addCriterion("RESULT_STYLE =", value, "resultStyle");
            return (Criteria) this;
        }

        public Criteria andResultStyleNotEqualTo(Integer value) {
            addCriterion("RESULT_STYLE <>", value, "resultStyle");
            return (Criteria) this;
        }

        public Criteria andResultStyleGreaterThan(Integer value) {
            addCriterion("RESULT_STYLE >", value, "resultStyle");
            return (Criteria) this;
        }

        public Criteria andResultStyleGreaterThanOrEqualTo(Integer value) {
            addCriterion("RESULT_STYLE >=", value, "resultStyle");
            return (Criteria) this;
        }

        public Criteria andResultStyleLessThan(Integer value) {
            addCriterion("RESULT_STYLE <", value, "resultStyle");
            return (Criteria) this;
        }

        public Criteria andResultStyleLessThanOrEqualTo(Integer value) {
            addCriterion("RESULT_STYLE <=", value, "resultStyle");
            return (Criteria) this;
        }

        public Criteria andResultStyleIn(List<Integer> values) {
            addCriterion("RESULT_STYLE in", values, "resultStyle");
            return (Criteria) this;
        }

        public Criteria andResultStyleNotIn(List<Integer> values) {
            addCriterion("RESULT_STYLE not in", values, "resultStyle");
            return (Criteria) this;
        }

        public Criteria andResultStyleBetween(Integer value1, Integer value2) {
            addCriterion("RESULT_STYLE between", value1, value2, "resultStyle");
            return (Criteria) this;
        }

        public Criteria andResultStyleNotBetween(Integer value1, Integer value2) {
            addCriterion("RESULT_STYLE not between", value1, value2, "resultStyle");
            return (Criteria) this;
        }

        public Criteria andResulttypeIsNull() {
            addCriterion("RESULTTYPE is null");
            return (Criteria) this;
        }

        public Criteria andResulttypeIsNotNull() {
            addCriterion("RESULTTYPE is not null");
            return (Criteria) this;
        }

        public Criteria andResulttypeEqualTo(String value) {
            addCriterion("RESULTTYPE =", value, "resulttype");
            return (Criteria) this;
        }

        public Criteria andResulttypeNotEqualTo(String value) {
            addCriterion("RESULTTYPE <>", value, "resulttype");
            return (Criteria) this;
        }

        public Criteria andResulttypeGreaterThan(String value) {
            addCriterion("RESULTTYPE >", value, "resulttype");
            return (Criteria) this;
        }

        public Criteria andResulttypeGreaterThanOrEqualTo(String value) {
            addCriterion("RESULTTYPE >=", value, "resulttype");
            return (Criteria) this;
        }

        public Criteria andResulttypeLessThan(String value) {
            addCriterion("RESULTTYPE <", value, "resulttype");
            return (Criteria) this;
        }

        public Criteria andResulttypeLessThanOrEqualTo(String value) {
            addCriterion("RESULTTYPE <=", value, "resulttype");
            return (Criteria) this;
        }

        public Criteria andResulttypeLike(String value) {
            addCriterion("RESULTTYPE like", value, "resulttype");
            return (Criteria) this;
        }

        public Criteria andResulttypeNotLike(String value) {
            addCriterion("RESULTTYPE not like", value, "resulttype");
            return (Criteria) this;
        }

        public Criteria andResulttypeIn(List<String> values) {
            addCriterion("RESULTTYPE in", values, "resulttype");
            return (Criteria) this;
        }

        public Criteria andResulttypeNotIn(List<String> values) {
            addCriterion("RESULTTYPE not in", values, "resulttype");
            return (Criteria) this;
        }

        public Criteria andResulttypeBetween(String value1, String value2) {
            addCriterion("RESULTTYPE between", value1, value2, "resulttype");
            return (Criteria) this;
        }

        public Criteria andResulttypeNotBetween(String value1, String value2) {
            addCriterion("RESULTTYPE not between", value1, value2, "resulttype");
            return (Criteria) this;
        }

        public Criteria andResultCopiesnumIsNull() {
            addCriterion("RESULT_COPIESNUM is null");
            return (Criteria) this;
        }

        public Criteria andResultCopiesnumIsNotNull() {
            addCriterion("RESULT_COPIESNUM is not null");
            return (Criteria) this;
        }

        public Criteria andResultCopiesnumEqualTo(Integer value) {
            addCriterion("RESULT_COPIESNUM =", value, "resultCopiesnum");
            return (Criteria) this;
        }

        public Criteria andResultCopiesnumNotEqualTo(Integer value) {
            addCriterion("RESULT_COPIESNUM <>", value, "resultCopiesnum");
            return (Criteria) this;
        }

        public Criteria andResultCopiesnumGreaterThan(Integer value) {
            addCriterion("RESULT_COPIESNUM >", value, "resultCopiesnum");
            return (Criteria) this;
        }

        public Criteria andResultCopiesnumGreaterThanOrEqualTo(Integer value) {
            addCriterion("RESULT_COPIESNUM >=", value, "resultCopiesnum");
            return (Criteria) this;
        }

        public Criteria andResultCopiesnumLessThan(Integer value) {
            addCriterion("RESULT_COPIESNUM <", value, "resultCopiesnum");
            return (Criteria) this;
        }

        public Criteria andResultCopiesnumLessThanOrEqualTo(Integer value) {
            addCriterion("RESULT_COPIESNUM <=", value, "resultCopiesnum");
            return (Criteria) this;
        }

        public Criteria andResultCopiesnumIn(List<Integer> values) {
            addCriterion("RESULT_COPIESNUM in", values, "resultCopiesnum");
            return (Criteria) this;
        }

        public Criteria andResultCopiesnumNotIn(List<Integer> values) {
            addCriterion("RESULT_COPIESNUM not in", values, "resultCopiesnum");
            return (Criteria) this;
        }

        public Criteria andResultCopiesnumBetween(Integer value1, Integer value2) {
            addCriterion("RESULT_COPIESNUM between", value1, value2, "resultCopiesnum");
            return (Criteria) this;
        }

        public Criteria andResultCopiesnumNotBetween(Integer value1, Integer value2) {
            addCriterion("RESULT_COPIESNUM not between", value1, value2, "resultCopiesnum");
            return (Criteria) this;
        }

        public Criteria andHandleusernameIsNull() {
            addCriterion("HANDLEUSERNAME is null");
            return (Criteria) this;
        }

        public Criteria andHandleusernameIsNotNull() {
            addCriterion("HANDLEUSERNAME is not null");
            return (Criteria) this;
        }

        public Criteria andHandleusernameEqualTo(String value) {
            addCriterion("HANDLEUSERNAME =", value, "handleusername");
            return (Criteria) this;
        }

        public Criteria andHandleusernameNotEqualTo(String value) {
            addCriterion("HANDLEUSERNAME <>", value, "handleusername");
            return (Criteria) this;
        }

        public Criteria andHandleusernameGreaterThan(String value) {
            addCriterion("HANDLEUSERNAME >", value, "handleusername");
            return (Criteria) this;
        }

        public Criteria andHandleusernameGreaterThanOrEqualTo(String value) {
            addCriterion("HANDLEUSERNAME >=", value, "handleusername");
            return (Criteria) this;
        }

        public Criteria andHandleusernameLessThan(String value) {
            addCriterion("HANDLEUSERNAME <", value, "handleusername");
            return (Criteria) this;
        }

        public Criteria andHandleusernameLessThanOrEqualTo(String value) {
            addCriterion("HANDLEUSERNAME <=", value, "handleusername");
            return (Criteria) this;
        }

        public Criteria andHandleusernameLike(String value) {
            addCriterion("HANDLEUSERNAME like", value, "handleusername");
            return (Criteria) this;
        }

        public Criteria andHandleusernameNotLike(String value) {
            addCriterion("HANDLEUSERNAME not like", value, "handleusername");
            return (Criteria) this;
        }

        public Criteria andHandleusernameIn(List<String> values) {
            addCriterion("HANDLEUSERNAME in", values, "handleusername");
            return (Criteria) this;
        }

        public Criteria andHandleusernameNotIn(List<String> values) {
            addCriterion("HANDLEUSERNAME not in", values, "handleusername");
            return (Criteria) this;
        }

        public Criteria andHandleusernameBetween(String value1, String value2) {
            addCriterion("HANDLEUSERNAME between", value1, value2, "handleusername");
            return (Criteria) this;
        }

        public Criteria andHandleusernameNotBetween(String value1, String value2) {
            addCriterion("HANDLEUSERNAME not between", value1, value2, "handleusername");
            return (Criteria) this;
        }

        public Criteria andResultdateIsNull() {
            addCriterion("RESULTDATE is null");
            return (Criteria) this;
        }

        public Criteria andResultdateIsNotNull() {
            addCriterion("RESULTDATE is not null");
            return (Criteria) this;
        }

        public Criteria andResultdateEqualTo(Date value) {
            addCriterion("RESULTDATE =", value, "resultdate");
            return (Criteria) this;
        }

        public Criteria andResultdateNotEqualTo(Date value) {
            addCriterion("RESULTDATE <>", value, "resultdate");
            return (Criteria) this;
        }

        public Criteria andResultdateGreaterThan(Date value) {
            addCriterion("RESULTDATE >", value, "resultdate");
            return (Criteria) this;
        }

        public Criteria andResultdateGreaterThanOrEqualTo(Date value) {
            addCriterion("RESULTDATE >=", value, "resultdate");
            return (Criteria) this;
        }

        public Criteria andResultdateLessThan(Date value) {
            addCriterion("RESULTDATE <", value, "resultdate");
            return (Criteria) this;
        }

        public Criteria andResultdateLessThanOrEqualTo(Date value) {
            addCriterion("RESULTDATE <=", value, "resultdate");
            return (Criteria) this;
        }

        public Criteria andResultdateIn(List<Date> values) {
            addCriterion("RESULTDATE in", values, "resultdate");
            return (Criteria) this;
        }

        public Criteria andResultdateNotIn(List<Date> values) {
            addCriterion("RESULTDATE not in", values, "resultdate");
            return (Criteria) this;
        }

        public Criteria andResultdateBetween(Date value1, Date value2) {
            addCriterion("RESULTDATE between", value1, value2, "resultdate");
            return (Criteria) this;
        }

        public Criteria andResultdateNotBetween(Date value1, Date value2) {
            addCriterion("RESULTDATE not between", value1, value2, "resultdate");
            return (Criteria) this;
        }

        public Criteria andIsdeliveryresultsIsNull() {
            addCriterion("ISDELIVERYRESULTS is null");
            return (Criteria) this;
        }

        public Criteria andIsdeliveryresultsIsNotNull() {
            addCriterion("ISDELIVERYRESULTS is not null");
            return (Criteria) this;
        }

        public Criteria andIsdeliveryresultsEqualTo(String value) {
            addCriterion("ISDELIVERYRESULTS =", value, "isdeliveryresults");
            return (Criteria) this;
        }

        public Criteria andIsdeliveryresultsNotEqualTo(String value) {
            addCriterion("ISDELIVERYRESULTS <>", value, "isdeliveryresults");
            return (Criteria) this;
        }

        public Criteria andIsdeliveryresultsGreaterThan(String value) {
            addCriterion("ISDELIVERYRESULTS >", value, "isdeliveryresults");
            return (Criteria) this;
        }

        public Criteria andIsdeliveryresultsGreaterThanOrEqualTo(String value) {
            addCriterion("ISDELIVERYRESULTS >=", value, "isdeliveryresults");
            return (Criteria) this;
        }

        public Criteria andIsdeliveryresultsLessThan(String value) {
            addCriterion("ISDELIVERYRESULTS <", value, "isdeliveryresults");
            return (Criteria) this;
        }

        public Criteria andIsdeliveryresultsLessThanOrEqualTo(String value) {
            addCriterion("ISDELIVERYRESULTS <=", value, "isdeliveryresults");
            return (Criteria) this;
        }

        public Criteria andIsdeliveryresultsLike(String value) {
            addCriterion("ISDELIVERYRESULTS like", value, "isdeliveryresults");
            return (Criteria) this;
        }

        public Criteria andIsdeliveryresultsNotLike(String value) {
            addCriterion("ISDELIVERYRESULTS not like", value, "isdeliveryresults");
            return (Criteria) this;
        }

        public Criteria andIsdeliveryresultsIn(List<String> values) {
            addCriterion("ISDELIVERYRESULTS in", values, "isdeliveryresults");
            return (Criteria) this;
        }

        public Criteria andIsdeliveryresultsNotIn(List<String> values) {
            addCriterion("ISDELIVERYRESULTS not in", values, "isdeliveryresults");
            return (Criteria) this;
        }

        public Criteria andIsdeliveryresultsBetween(String value1, String value2) {
            addCriterion("ISDELIVERYRESULTS between", value1, value2, "isdeliveryresults");
            return (Criteria) this;
        }

        public Criteria andIsdeliveryresultsNotBetween(String value1, String value2) {
            addCriterion("ISDELIVERYRESULTS not between", value1, value2, "isdeliveryresults");
            return (Criteria) this;
        }

        public Criteria andSatisfactionIsNull() {
            addCriterion("SATISFACTION is null");
            return (Criteria) this;
        }

        public Criteria andSatisfactionIsNotNull() {
            addCriterion("SATISFACTION is not null");
            return (Criteria) this;
        }

        public Criteria andSatisfactionEqualTo(String value) {
            addCriterion("SATISFACTION =", value, "satisfaction");
            return (Criteria) this;
        }

        public Criteria andSatisfactionNotEqualTo(String value) {
            addCriterion("SATISFACTION <>", value, "satisfaction");
            return (Criteria) this;
        }

        public Criteria andSatisfactionGreaterThan(String value) {
            addCriterion("SATISFACTION >", value, "satisfaction");
            return (Criteria) this;
        }

        public Criteria andSatisfactionGreaterThanOrEqualTo(String value) {
            addCriterion("SATISFACTION >=", value, "satisfaction");
            return (Criteria) this;
        }

        public Criteria andSatisfactionLessThan(String value) {
            addCriterion("SATISFACTION <", value, "satisfaction");
            return (Criteria) this;
        }

        public Criteria andSatisfactionLessThanOrEqualTo(String value) {
            addCriterion("SATISFACTION <=", value, "satisfaction");
            return (Criteria) this;
        }

        public Criteria andSatisfactionLike(String value) {
            addCriterion("SATISFACTION like", value, "satisfaction");
            return (Criteria) this;
        }

        public Criteria andSatisfactionNotLike(String value) {
            addCriterion("SATISFACTION not like", value, "satisfaction");
            return (Criteria) this;
        }

        public Criteria andSatisfactionIn(List<String> values) {
            addCriterion("SATISFACTION in", values, "satisfaction");
            return (Criteria) this;
        }

        public Criteria andSatisfactionNotIn(List<String> values) {
            addCriterion("SATISFACTION not in", values, "satisfaction");
            return (Criteria) this;
        }

        public Criteria andSatisfactionBetween(String value1, String value2) {
            addCriterion("SATISFACTION between", value1, value2, "satisfaction");
            return (Criteria) this;
        }

        public Criteria andSatisfactionNotBetween(String value1, String value2) {
            addCriterion("SATISFACTION not between", value1, value2, "satisfaction");
            return (Criteria) this;
        }

        public Criteria andCheckStateIsNull() {
            addCriterion("CHECK_STATE is null");
            return (Criteria) this;
        }

        public Criteria andCheckStateIsNotNull() {
            addCriterion("CHECK_STATE is not null");
            return (Criteria) this;
        }

        public Criteria andCheckStateEqualTo(Integer value) {
            addCriterion("CHECK_STATE =", value, "checkState");
            return (Criteria) this;
        }

        public Criteria andCheckStateNotEqualTo(Integer value) {
            addCriterion("CHECK_STATE <>", value, "checkState");
            return (Criteria) this;
        }

        public Criteria andCheckStateGreaterThan(Integer value) {
            addCriterion("CHECK_STATE >", value, "checkState");
            return (Criteria) this;
        }

        public Criteria andCheckStateGreaterThanOrEqualTo(Integer value) {
            addCriterion("CHECK_STATE >=", value, "checkState");
            return (Criteria) this;
        }

        public Criteria andCheckStateLessThan(Integer value) {
            addCriterion("CHECK_STATE <", value, "checkState");
            return (Criteria) this;
        }

        public Criteria andCheckStateLessThanOrEqualTo(Integer value) {
            addCriterion("CHECK_STATE <=", value, "checkState");
            return (Criteria) this;
        }

        public Criteria andCheckStateIn(List<Integer> values) {
            addCriterion("CHECK_STATE in", values, "checkState");
            return (Criteria) this;
        }

        public Criteria andCheckStateNotIn(List<Integer> values) {
            addCriterion("CHECK_STATE not in", values, "checkState");
            return (Criteria) this;
        }

        public Criteria andCheckStateBetween(Integer value1, Integer value2) {
            addCriterion("CHECK_STATE between", value1, value2, "checkState");
            return (Criteria) this;
        }

        public Criteria andCheckStateNotBetween(Integer value1, Integer value2) {
            addCriterion("CHECK_STATE not between", value1, value2, "checkState");
            return (Criteria) this;
        }

        public Criteria andCdUptimeIsNull() {
            addCriterion("CD_UPTIME is null");
            return (Criteria) this;
        }

        public Criteria andCdUptimeIsNotNull() {
            addCriterion("CD_UPTIME is not null");
            return (Criteria) this;
        }

        public Criteria andCdUptimeEqualTo(Date value) {
            addCriterion("CD_UPTIME =", value, "cdUptime");
            return (Criteria) this;
        }

        public Criteria andCdUptimeNotEqualTo(Date value) {
            addCriterion("CD_UPTIME <>", value, "cdUptime");
            return (Criteria) this;
        }

        public Criteria andCdUptimeGreaterThan(Date value) {
            addCriterion("CD_UPTIME >", value, "cdUptime");
            return (Criteria) this;
        }

        public Criteria andCdUptimeGreaterThanOrEqualTo(Date value) {
            addCriterion("CD_UPTIME >=", value, "cdUptime");
            return (Criteria) this;
        }

        public Criteria andCdUptimeLessThan(Date value) {
            addCriterion("CD_UPTIME <", value, "cdUptime");
            return (Criteria) this;
        }

        public Criteria andCdUptimeLessThanOrEqualTo(Date value) {
            addCriterion("CD_UPTIME <=", value, "cdUptime");
            return (Criteria) this;
        }

        public Criteria andCdUptimeIn(List<Date> values) {
            addCriterion("CD_UPTIME in", values, "cdUptime");
            return (Criteria) this;
        }

        public Criteria andCdUptimeNotIn(List<Date> values) {
            addCriterion("CD_UPTIME not in", values, "cdUptime");
            return (Criteria) this;
        }

        public Criteria andCdUptimeBetween(Date value1, Date value2) {
            addCriterion("CD_UPTIME between", value1, value2, "cdUptime");
            return (Criteria) this;
        }

        public Criteria andCdUptimeNotBetween(Date value1, Date value2) {
            addCriterion("CD_UPTIME not between", value1, value2, "cdUptime");
            return (Criteria) this;
        }

        public Criteria andDelStateIsNull() {
            addCriterion("DEL_STATE is null");
            return (Criteria) this;
        }

        public Criteria andDelStateIsNotNull() {
            addCriterion("DEL_STATE is not null");
            return (Criteria) this;
        }

        public Criteria andDelStateEqualTo(Integer value) {
            addCriterion("DEL_STATE =", value, "delState");
            return (Criteria) this;
        }

        public Criteria andDelStateNotEqualTo(Integer value) {
            addCriterion("DEL_STATE <>", value, "delState");
            return (Criteria) this;
        }

        public Criteria andDelStateGreaterThan(Integer value) {
            addCriterion("DEL_STATE >", value, "delState");
            return (Criteria) this;
        }

        public Criteria andDelStateGreaterThanOrEqualTo(Integer value) {
            addCriterion("DEL_STATE >=", value, "delState");
            return (Criteria) this;
        }

        public Criteria andDelStateLessThan(Integer value) {
            addCriterion("DEL_STATE <", value, "delState");
            return (Criteria) this;
        }

        public Criteria andDelStateLessThanOrEqualTo(Integer value) {
            addCriterion("DEL_STATE <=", value, "delState");
            return (Criteria) this;
        }

        public Criteria andDelStateIn(List<Integer> values) {
            addCriterion("DEL_STATE in", values, "delState");
            return (Criteria) this;
        }

        public Criteria andDelStateNotIn(List<Integer> values) {
            addCriterion("DEL_STATE not in", values, "delState");
            return (Criteria) this;
        }

        public Criteria andDelStateBetween(Integer value1, Integer value2) {
            addCriterion("DEL_STATE between", value1, value2, "delState");
            return (Criteria) this;
        }

        public Criteria andDelStateNotBetween(Integer value1, Integer value2) {
            addCriterion("DEL_STATE not between", value1, value2, "delState");
            return (Criteria) this;
        }

        public Criteria andCdTimeIsNull() {
            addCriterion("CD_TIME is null");
            return (Criteria) this;
        }

        public Criteria andCdTimeIsNotNull() {
            addCriterion("CD_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andCdTimeEqualTo(Date value) {
            addCriterion("CD_TIME =", value, "cdTime");
            return (Criteria) this;
        }

        public Criteria andCdTimeNotEqualTo(Date value) {
            addCriterion("CD_TIME <>", value, "cdTime");
            return (Criteria) this;
        }

        public Criteria andCdTimeGreaterThan(Date value) {
            addCriterion("CD_TIME >", value, "cdTime");
            return (Criteria) this;
        }

        public Criteria andCdTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("CD_TIME >=", value, "cdTime");
            return (Criteria) this;
        }

        public Criteria andCdTimeLessThan(Date value) {
            addCriterion("CD_TIME <", value, "cdTime");
            return (Criteria) this;
        }

        public Criteria andCdTimeLessThanOrEqualTo(Date value) {
            addCriterion("CD_TIME <=", value, "cdTime");
            return (Criteria) this;
        }

        public Criteria andCdTimeIn(List<Date> values) {
            addCriterion("CD_TIME in", values, "cdTime");
            return (Criteria) this;
        }

        public Criteria andCdTimeNotIn(List<Date> values) {
            addCriterion("CD_TIME not in", values, "cdTime");
            return (Criteria) this;
        }

        public Criteria andCdTimeBetween(Date value1, Date value2) {
            addCriterion("CD_TIME between", value1, value2, "cdTime");
            return (Criteria) this;
        }

        public Criteria andCdTimeNotBetween(Date value1, Date value2) {
            addCriterion("CD_TIME not between", value1, value2, "cdTime");
            return (Criteria) this;
        }

        public Criteria andSyncSignIsNull() {
            addCriterion("SYNC_SIGN is null");
            return (Criteria) this;
        }

        public Criteria andSyncSignIsNotNull() {
            addCriterion("SYNC_SIGN is not null");
            return (Criteria) this;
        }

        public Criteria andSyncSignEqualTo(Integer value) {
            addCriterion("SYNC_SIGN =", value, "syncSign");
            return (Criteria) this;
        }

        public Criteria andSyncSignNotEqualTo(Integer value) {
            addCriterion("SYNC_SIGN <>", value, "syncSign");
            return (Criteria) this;
        }

        public Criteria andSyncSignGreaterThan(Integer value) {
            addCriterion("SYNC_SIGN >", value, "syncSign");
            return (Criteria) this;
        }

        public Criteria andSyncSignGreaterThanOrEqualTo(Integer value) {
            addCriterion("SYNC_SIGN >=", value, "syncSign");
            return (Criteria) this;
        }

        public Criteria andSyncSignLessThan(Integer value) {
            addCriterion("SYNC_SIGN <", value, "syncSign");
            return (Criteria) this;
        }

        public Criteria andSyncSignLessThanOrEqualTo(Integer value) {
            addCriterion("SYNC_SIGN <=", value, "syncSign");
            return (Criteria) this;
        }

        public Criteria andSyncSignIn(List<Integer> values) {
            addCriterion("SYNC_SIGN in", values, "syncSign");
            return (Criteria) this;
        }

        public Criteria andSyncSignNotIn(List<Integer> values) {
            addCriterion("SYNC_SIGN not in", values, "syncSign");
            return (Criteria) this;
        }

        public Criteria andSyncSignBetween(Integer value1, Integer value2) {
            addCriterion("SYNC_SIGN between", value1, value2, "syncSign");
            return (Criteria) this;
        }

        public Criteria andSyncSignNotBetween(Integer value1, Integer value2) {
            addCriterion("SYNC_SIGN not between", value1, value2, "syncSign");
            return (Criteria) this;
        }

        public Criteria andCdBatchIsNull() {
            addCriterion("CD_BATCH is null");
            return (Criteria) this;
        }

        public Criteria andCdBatchIsNotNull() {
            addCriterion("CD_BATCH is not null");
            return (Criteria) this;
        }

        public Criteria andCdBatchEqualTo(String value) {
            addCriterion("CD_BATCH =", value, "cdBatch");
            return (Criteria) this;
        }

        public Criteria andCdBatchNotEqualTo(String value) {
            addCriterion("CD_BATCH <>", value, "cdBatch");
            return (Criteria) this;
        }

        public Criteria andCdBatchGreaterThan(String value) {
            addCriterion("CD_BATCH >", value, "cdBatch");
            return (Criteria) this;
        }

        public Criteria andCdBatchGreaterThanOrEqualTo(String value) {
            addCriterion("CD_BATCH >=", value, "cdBatch");
            return (Criteria) this;
        }

        public Criteria andCdBatchLessThan(String value) {
            addCriterion("CD_BATCH <", value, "cdBatch");
            return (Criteria) this;
        }

        public Criteria andCdBatchLessThanOrEqualTo(String value) {
            addCriterion("CD_BATCH <=", value, "cdBatch");
            return (Criteria) this;
        }

        public Criteria andCdBatchLike(String value) {
            addCriterion("CD_BATCH like", value, "cdBatch");
            return (Criteria) this;
        }

        public Criteria andCdBatchNotLike(String value) {
            addCriterion("CD_BATCH not like", value, "cdBatch");
            return (Criteria) this;
        }

        public Criteria andCdBatchIn(List<String> values) {
            addCriterion("CD_BATCH in", values, "cdBatch");
            return (Criteria) this;
        }

        public Criteria andCdBatchNotIn(List<String> values) {
            addCriterion("CD_BATCH not in", values, "cdBatch");
            return (Criteria) this;
        }

        public Criteria andCdBatchBetween(String value1, String value2) {
            addCriterion("CD_BATCH between", value1, value2, "cdBatch");
            return (Criteria) this;
        }

        public Criteria andCdBatchNotBetween(String value1, String value2) {
            addCriterion("CD_BATCH not between", value1, value2, "cdBatch");
            return (Criteria) this;
        }

        public Criteria andDatasourceIsNull() {
            addCriterion("DATASOURCE is null");
            return (Criteria) this;
        }

        public Criteria andDatasourceIsNotNull() {
            addCriterion("DATASOURCE is not null");
            return (Criteria) this;
        }

        public Criteria andDatasourceEqualTo(String value) {
            addCriterion("DATASOURCE =", value, "datasource");
            return (Criteria) this;
        }

        public Criteria andDatasourceNotEqualTo(String value) {
            addCriterion("DATASOURCE <>", value, "datasource");
            return (Criteria) this;
        }

        public Criteria andDatasourceGreaterThan(String value) {
            addCriterion("DATASOURCE >", value, "datasource");
            return (Criteria) this;
        }

        public Criteria andDatasourceGreaterThanOrEqualTo(String value) {
            addCriterion("DATASOURCE >=", value, "datasource");
            return (Criteria) this;
        }

        public Criteria andDatasourceLessThan(String value) {
            addCriterion("DATASOURCE <", value, "datasource");
            return (Criteria) this;
        }

        public Criteria andDatasourceLessThanOrEqualTo(String value) {
            addCriterion("DATASOURCE <=", value, "datasource");
            return (Criteria) this;
        }

        public Criteria andDatasourceLike(String value) {
            addCriterion("DATASOURCE like", value, "datasource");
            return (Criteria) this;
        }

        public Criteria andDatasourceNotLike(String value) {
            addCriterion("DATASOURCE not like", value, "datasource");
            return (Criteria) this;
        }

        public Criteria andDatasourceIn(List<String> values) {
            addCriterion("DATASOURCE in", values, "datasource");
            return (Criteria) this;
        }

        public Criteria andDatasourceNotIn(List<String> values) {
            addCriterion("DATASOURCE not in", values, "datasource");
            return (Criteria) this;
        }

        public Criteria andDatasourceBetween(String value1, String value2) {
            addCriterion("DATASOURCE between", value1, value2, "datasource");
            return (Criteria) this;
        }

        public Criteria andDatasourceNotBetween(String value1, String value2) {
            addCriterion("DATASOURCE not between", value1, value2, "datasource");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}